//
//  PopulationBaseInfoViewController.h
//  Utils
//
//  Created by enghou on 2018/4/20.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "StaticTableViewController.h"
#import "SelectedButton.h"
#import <TZImagePickerController.h>
#import "NetWorkerManager.h"
#import "QueryTypeSelectionController.h"
#import "ProvincesGenerator.h"
@interface PopulationBaseInfoViewController : StaticTableViewController

//参数最前面的前缀 为对象名
@property(nonatomic,copy)NSString *paramPrefix;

@property (weak, nonatomic) IBOutlet UILabel *changeState;

@property(nonatomic,copy)NSString *ids;

@property(nonatomic,strong)UIImage *headImage;

@property(nonatomic,assign)BOOL headchanged;

@property(nonatomic,copy)NSString *head_imageurl;

//-(NSDictionary *)param;
@property(nonatomic,readonly)NSDictionary *param;

@property(nonatomic,assign)BOOL canEdit;

@property(nonatomic,strong)PropertyDictItemModel *occupyModel;
//专门用来让外界设置参数的
@property (weak, nonatomic) IBOutlet UIImageView *headImageView;
@property (weak, nonatomic) IBOutlet UITextField *idCardField;
@property (weak, nonatomic) IBOutlet UITextField *nameField;
@property (weak, nonatomic) IBOutlet UITextField *sexField;
@property(nonatomic,strong)PropertyDictItemModel *sexModel;
@property (weak, nonatomic) IBOutlet UITextField *birthdayField;
@property (weak, nonatomic) IBOutlet UITextField *locateTypeField;//户口类型
@property(nonatomic,strong)PropertyDictItemModel *registerTypeModel;//选中的户口类型
@property (weak, nonatomic) IBOutlet UIButton *calendarBtn;

@property (weak, nonatomic) IBOutlet UITextField *minzuField;
@property(nonatomic,strong)PropertyDictItemModel *minzuModel;//民族
@property (weak, nonatomic) IBOutlet UITextField *locateAddressField;

//户籍
@property(nonatomic,strong)Province *hujiProvince;
@property(nonatomic,strong)City *hujiCity;
@property(nonatomic,strong)Country *hujiCountry;

//籍贯
@property(nonatomic,strong)Province *oldProvince;
@property(nonatomic,strong)City *oldCity;
@property(nonatomic,strong)Country *oldCountry;

//现住地
@property(nonatomic,strong)Province *nowProvince;
@property(nonatomic,strong)City *nowCity;
@property(nonatomic,strong)Country *nowCountry;


@property(nonatomic,strong)PropertyDictItemModel *religionModel;
@property(nonatomic,strong)PropertyDictItemModel *marryModel;
@property(nonatomic,strong)SubTypeItemModel *eduDegreeModel;

@property(nonatomic,strong)PropertyDictItemModel *politicalModel;//政治面貌

@property (weak, nonatomic) IBOutlet UITextField *homeLocateField;
@property (weak, nonatomic) IBOutlet UITextField *nowLocateField;
@property (weak, nonatomic) IBOutlet UITextField *homeLocateDetailField;
@property (weak, nonatomic) IBOutlet SelectedButton *yesBtn;
@property (weak, nonatomic) IBOutlet SelectedButton *noBtn;
@property (weak, nonatomic) IBOutlet UITextField *nowLocateDetailField;
@property (weak, nonatomic) IBOutlet UITextField *zhengzhiField;
@property (weak, nonatomic) IBOutlet UITextField *marriedField;
@property (weak, nonatomic) IBOutlet UITextField *pastNameField;

@property (weak, nonatomic) IBOutlet UITextField *phoneNumberField;

@property (weak, nonatomic) IBOutlet UITextField *stablePhoneField;
@property (weak, nonatomic) IBOutlet UITextField *educationDegreeField;
@property (weak, nonatomic) IBOutlet UITextField *occupyCategoryField;

@property (weak, nonatomic) IBOutlet UITextField *occupyField;
@property (weak, nonatomic) IBOutlet UITextField *serviceLocateField;
@property (weak, nonatomic) IBOutlet UITextField *zongjiaoField;



@end
